package com.ybkj.daijia.server.service;

import com.ybkj.daijia.server.model.OrderFinishedInfo;
import java.util.Date;
import java.util.List;

/**
 * @author Shine
 */
public interface OrderFinishedInfoService {


    /**
     * 保存信息
     *
     * @param member
     * @return
     */
    public OrderFinishedInfo insertRecord(OrderFinishedInfo orderFinishedInfo);

    /**
     * @param company
     * @return
     */
    public OrderFinishedInfo update(OrderFinishedInfo orderFinishedInfo);

    /**
     * @param id
     * @return
     */
    public OrderFinishedInfo findOne(Long id);

    /**
     * 根据一组ID查询出管理员信息
     *
     * @param ids
     * @return
     */
    public List<OrderFinishedInfo> findByIdIn(Long[] ids);

    public List<OrderFinishedInfo> findBycompanyId(Long companyId, Date start, Date end);

    /**
     * 删除
     *
     * @param company
     */
    public void delete(OrderFinishedInfo orderFinishedInfo);

    public OrderFinishedInfo findByOrder(Long orderId);


}
